package com.week.tiny_video.dao;

import com.week.tiny_video.pojo.History;
import com.week.tiny_video.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface HistoryDao extends JpaRepository<History,Integer> {
    public List<History> findAllByUser(User user);

}
